package com.gupaoedu.factory.simplefactory;

import com.gupaoedu.factory.ICourse;
import com.gupaoedu.factory.JavaCourse;
import org.slf4j.LoggerFactory;

import java.util.Calendar;

/**
 * com.gupaoedu.factory.simplefactory
 * linwenjie
 * 2019-05-29
 */
public class SimpleFactoryTest {

    public static void main(String[] args) {
//        ICourse course = new JavaCourse();
//        course.record();

        CourseFactory courseFactory = new CourseFactory();
        ICourse course = courseFactory.create(JavaCourse.class);
        course.record();
        Calendar.getInstance();

        LoggerFactory.getLogger("");


    }
}

